﻿namespace Cik.Gapi4net.Testing.Domain
{
    using Gapi4Net.Core.Helper;
    using Gapi4Net.Domain.Enum;
    using Microsoft.VisualStudio.TestTools.UnitTesting;

    [TestClass]
    public class CountryCodeTesting
    {
        [TestMethod]
        public void Can_Get_String_Of_Country_Code()
        {
            var countryCode = StringEnum.GetStringValue(CountryCode.Afghanistan);
            Assert.AreEqual(countryCode, "AF");
            countryCode = StringEnum.GetStringValue(CountryCode.Bahamas);
            Assert.AreEqual(countryCode, "BS");
            countryCode = StringEnum.GetStringValue(CountryCode.Argentina);
            Assert.AreEqual(countryCode, "AR");
        }
    }
}